package com.example.order_product.Service;

import com.example.order_product.Entity.Order;
import com.example.order_product.Entity.Product;

public interface OrderService {
    void addOrder(Order order,Product product);

    boolean judgeStock(Order order, Product product);


    Order findOrderByid(int id);


    void updateOrderStatus(Order order);
}

